package com.woniu.venue.service;

import com.github.pagehelper.PageInfo;
import com.woniu.venue.dto.venueClassroom.VenueClassroomDto;
import com.woniu.venue.model.VenueClassroom;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.venue.param.venueClassroom.AddVenueClassroomParam;
import com.woniu.venue.param.venueClassroom.LoadVenueClassroomParam;
import com.woniu.venue.param.venueClassroom.UpdateVenueClassroomParam;

import java.util.List;
import java.util.Set;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杜岷芫
 * @since 2024年07月12日
 */
public interface VenueClassroomService extends IService<VenueClassroom> {

    VenueClassroomDto add(AddVenueClassroomParam param);

    VenueClassroomDto changeState(Integer classroomId, Integer state);

    VenueClassroomDto updateVenueClassroom(UpdateVenueClassroomParam param);

    PageInfo<VenueClassroomDto> load(LoadVenueClassroomParam param);

    List<VenueClassroom> loadAll(Integer venueId, Integer classType);

    List<VenueClassroomDto> getByIds(Set<Integer> ids);
}
